package dyyx;

import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;

import org.springframework.util.DigestUtils;

public class DigestUtilsTest {
	private static final Charset DEFAULT_CHARSET = StandardCharsets.UTF_8;

	public static void main(String[] args) throws Exception {			
		String str = "hello";
		
		System.out.println(DigestUtils.md5DigestAsHex(str.getBytes(DEFAULT_CHARSET)));

	
		
	}
}
